﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AlarmClock.BLL
{
    interface IMusicPlayer: IDisposable
    {
        /// <summary>
        /// 播放
        /// </summary>
        void Play();
        /// <summary>
        /// 重新播放
        /// </summary>
        void RePlay();
        /// <summary>
        /// 重复播放
        /// </summary>
        void PlayRepeat();
        /// <summary>
        /// 暂停播放
        /// </summary>
        void Pause();
        /// <summary>
        /// 停止播放
        /// </summary>
        void Stop();
        /// <summary>
        /// 设置音量
        /// </summary>
        void SetVolume(float volume);
    }
}
